package com.detector.commonUtil;

public class StringUtils {

	public static boolean isBlank(String str){
		  if(str == null){
			  return true;
		  }  
		  else{
			  for(int i =0; i < str.length(); i++){
				  if(Character.isWhitespace(str.charAt(i)))
					  return true;
			  }
			  
		  }
		return false;
	}
	
	public static void main(String[] args) {
		System.out.println(isBlank("   "));
	}
}
